const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  name: state => state.user.userInfo.username, // 用户名
  staffPhoto: state => state.user.userInfo.staffPhoto, // 用户头像
  userId: state => state.user.userInfo.userId, // 用户id
  companyId: state => state.user.userInfo.companyId // 公司id
}
export default getters
